<%--
  Created by IntelliJ IDEA.
  User: maTengLong
  Date: 2020/3/12
  Time: 0:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<%

    request.setCharacterEncoding("utf-8");
    if ("166".equals(request.getParameter("pwd"))){
        response.sendRedirect("ok.jsp");
    }else {
        request.setAttribute("error","密码输入错误！！");
        request.getRequestDispatcher("login.jsp").forward(request,response);
    }

%>

</body>
</html>
